[HVM] Fix a bug in the emulation of the xchg instruction.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 30 May 2006 11:30:47 +0000 (12:30 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 30 May 2006 11:30:47 +0000 (12:30 +0100)
commit8dba288c089aa29b0f6b022784e69fab2fae8160
treecca0840189f5f896e3c3a3a2c360258edf3624e3
parenta3b519a9b55b19f3d7335915370e0b1ba5569988
[HVM] Fix a bug in the emulation of the xchg instruction.

This bug has prevented us from booting fully virtualized SMP guests
that write to the APIC using the xchg instruction (when
CONFIG_X86_GOOD_APIC is not set). On 32 bit platforms, sles 10 kernels
are built without CONFIG_x86_GOOD_APIC not set and hence we have had
problems booting fully virtualized SMP sles 10 guests.

Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
xen/arch/x86/hvm/io.c
xen/arch/x86/hvm/platform.c